<template>
  <div class="app">
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"></router-view>
  </div>
</template>

<script>
export default {
  name: 'app',
}
</script>

<style>
  .app {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
</style>
